
public class FileEncryption {
    public String encrypt(String plainText) {
        String encryptedText = "";
        for(char c: plainText.toCharArray()) {
            c = (char)(c-10);
            encryptedText += c;
        }
        return encryptedText;
    }
}